package com.five.dao.backstage;

import com.five.entity.backstage.Facility;
import com.five.util.Page;

import java.util.List;
import java.util.Map;

/**
 * @Author: 常鹏宇
 * @Description:
 * @Date: 2020/11/12 11:41
 */
public interface FacilityDao {

    List<Map> selectFacility(Page pageInfo, Facility facility);

    int count(Facility facility);

    List<Map> selectTypeid();

    int addAndUpdFAC(Facility facility);

    int delFacility(Facility facility);

    int bad(Integer id);

    int good(Integer id);
}
